import request from '../../utils/request';

// 会员任务完成记录相关 API

// 创建任务完成记录
export const createTaskRecord = (data: any) => {
    return request({
        url: '/member/api/task-record/create',
        method: 'post',
        data
    });
};

// 分页查询任务完成记录
export const getTaskRecordPage = (params: any) => {
    return request({
        url: '/member/api/task-record/page',
        method: 'get',
        params
    });
};
